#ifndef GETTEMPTHREAD_H
#define GETTEMPTHREAD_H

#include <QObject>
#include <QThread>
#include <tcpclient.h>
#include <QElapsedTimer>
#include <CommonHelper.h>
#include <dbHelper.h>
#include <loghelper.h>
#include <serialportThread.h>

class GetTempThread : public QObject
{
     Q_OBJECT;
public:
    explicit GetTempThread(QObject *parent = nullptr);

public slots:
    void run();

private:
    TcpClient* tcpClient;
    SerialportThread* serialClient;
    QThread thread;
    CommonHelper* commonClient;
    loghelper* logClient;
    QThread dataAnalyThread;

};

#endif // GETTEMPTHREAD_H
